<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title></title>
<title>美美说</title>
<link rel="stylesheet" type="text/css" href="./Public/Home/css/font.css"/>
<link rel="stylesheet" type="text/css" href="./Public/Home/css/mycss.css"/>	
<link rel="stylesheet" type="text/css" href="./Public/Home/css/cata.css"/>
<script src="./Public/Home/js/jquery.min.js"></script>
<script src="./Public/Home/js/cata.js" type="text/javascript" charset="utf-8"></script>
<style type="text/css">
	.items .select{
		color: #f46;
	}
</style>
</head>
<body>
	{{include file="../Common/header"}}
	<!--类目筛选-->
	<div class="filter_wrap">
    <!--面包屑-->
	    <div class="bread_crumbs">
	        <span class="cata_text">所有分类</span>
	        <samp class="corner">&gt;</samp>
	        <span class="g_total"> 共{{count($goods)}}件</span>
	    </div>
	    <!--筛选器-->
	    <div class="group_box">
	        <div class="inner_box">
	        	{{foreach from="$finalAttr" key="$k" value="$v"}}
	        	<?php
                    $temp = $param;
                    $temp[$k] = 0;
                ?>
	            <div class="row">
	                <div class="left_cate">{{$v['name']}}：</div>
	                <div class="center_content">
	                    <div class="items_wraper">
	                        <div class="items" data-key="fl_mt_firstcataid">
	                        	 <a href="{{U('index',['cid'=>$_GET['cid'],'param'=>implode('_',$temp)])}}" {{if value="$param[$k] eq 0"}}class="select"{{endif}}>
	                               <!-- <span class="icon_filter"></span>-->
	                                <span>不限</span>
	                            </a>
	                             {{foreach from="$v['value']" value="$value"}}
	                              <?php
		                                $temp[$k] = $value['gtid'];
		                          ?>
	                             <a href="{{U('index',['cid'=>$_GET['cid'],'param'=>implode('_',$temp)])}}" {{if value="$value['gtid'] eq $param[$k]"}}class="select"{{endif}}>
	                                <span>{{$value['gtvalue']}}</span>
	                            </a>
		                       
		                        {{endforeach}}
	                            
	                        </div>
	                    </div>
	                    
	                </div>
	               
	            </div>
	            {{endforeach}}
	        </div>
	    </div>
	    <!-- 排序-->
	    <div class="sort_box">
	        <div class="bytype">
	            <ul>
	                <li><a class="theme first curr" href="">流行</a></li>
	                <li><a class="theme" href="">热销</a></li>
	                <li><a class="theme" href="">上新</a></li>
	                <li class="laypr">
	                    <div class="trigger_link">
	                        <span>价格</span>
	                        <i class="arrow_down"></i>
	                    </div>
	                    <ul class="pricesort">
	                        <li><a href="">价格从低到高</a></li>
	                        <li><a href="">价格从高到低</a></li>
	                    </ul>
	                </li>
	            </ul>
	        </div>
	        <div class="byprice">
	            <input class="start input" placeholder="¥" type="text" value="">
	            <span class="wavemark">~</span>
	            <input class="end input" placeholder="¥" type="text" value="">
	            <a href="" class="p_submit">确认</a>
	        </div>
	        
	    </div>
	    <!--end排序-->
	</div>
	<!--end类目筛选-->
	<!--类目图片展示-->
	
	
	<!--end类目图片展示-->
	<div class="jingxuan">
	
	<div class="cont">
		{{foreach from="$goods" value="$v"}}
	   	<div class="item"> 
		    <div class="pic"> 
		   		<a target="_blank" href="{{U('Goods/detail',array('gid'=>$v['gid']))}}"><img src="{{$v['pic']}}" /></a> 
		    </div> 
		    <div class="desc"> 
			    <div> 
				    <span class="price">￥{{$v['shopprice']}}</span> 
				    <span class="like" style="background: none;">销量534</span> 
			    </div> 
			    <div class="tit"> 
			    	<a target="_blank" href="{{U('Goods/detail',array('gid'=>$v['gid']))}}">{{$v['gname']}}</a> 
			    </div> 
		    </div>
		</div>
		{{endforeach}}
		
		
	</div>
</div>
<!--end为你精选--> 
<div style="clear: both;"></div>
<div id="foot">
	<div class="center">
		<div class="record">
			Copyright ©2016 Meilishuo.com  经营性网站备案信息  &nbsp; 京ICP备11031139号  &nbsp; 客服电话：4000-800-577  &nbsp; 文明办网文明上网举报电话：010-82615762
		</div>
	</div>
</div>
</body>
</html>
